From 10f71216a1d3b80ec21a893fabfaaec9355e2180 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 8 Oct 2007 10:46:45 +0100 Subject: [PATCH] Fix domU reboot failure when using "pci=" option The failure only happens on the second or later auto reboot. See the following thread for a long discussion on this issue where most problems were fixed. http://lists.xensource.com/archives/html/xen-users/2006-05/msg00154.html Signed-off-by: Charles Arnold --- tools/python/xen/xend/XendConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 9a1e1da47b..9e49c4a68e 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -1461,7 +1461,7 @@ class XendConfig(dict): for dev_uuid in ordered_refs: dev_type, dev_info = target['devices'][dev_uuid] if dev_type == 'pci': # special case for pci devices - sxpr = [['uuid', dev_info['uuid']]] + sxpr = ['pci', ['uuid', dev_info['uuid']]] for pci_dev_info in dev_info['devs']: pci_dev_sxpr = ['dev'] for opt, val in pci_dev_info.items(): -- 2.30.2